﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Site1.Master" AutoEventWireup="true" CodeBehind="Agregar.aspx.cs" Inherits="BoxScore.torneo.Agregar" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="lateral1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="lateral2" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="lateral3" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="contenido" runat="server">


            <table>
                <tr>
                    <th>Nombre</th>
                    <td><asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>' />
                        <asp:TextBoxWatermarkExtender ID="nameTextBox_TextBoxWatermarkExtender" 
                            runat="server" Enabled="True" TargetControlID="nameTextBox" WatermarkText="Nombre de la liga">
                        </asp:TextBoxWatermarkExtender>
                        <br />
                        <asp:RequiredFieldValidator ControlToValidate="nameTextBox" ID="RequiredFieldValidator1" runat="server" ErrorMessage="Obligatorio"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                                <tr>
                    <th>Rese&ntilde;a</th>
                    <td><asp:TextBox ID="descriptionTextBox" runat="server" Columns="20" Rows="5" TextMode="MultiLine" 
                Text='<%# Bind("description") %>' /></td>
                </tr>
                <tr>
                    <th>Fecha de Inicio</th>
                    <td>
                        <asp:TextBox ID="TextBox1" runat="server" Columns="12"></asp:TextBox>
                        <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" 
                            Enabled="True" TargetControlID="TextBox1" Format="yyyy-MM-dd"
                            TodaysDateFormat="d/M/yyyy">
                        </asp:CalendarExtender>
                    </td>
                </tr>
                <tr>
                    <th>Fecha de Culminacion</th>
                    <td>
                        <asp:TextBox ID="TextBox2" runat="server" Columns="12"></asp:TextBox>
                        <asp:CalendarExtender ID="TextBox2_CalendarExtender" runat="server" 
                            Enabled="True" TargetControlID="TextBox2" Format="yyyy-MM-dd" 
                            TodaysDateFormat="d/M/yyyy">
                        </asp:CalendarExtender>
                    </td>
                </tr>
                <tr>
                    <th>Premio</th>
                    <td><asp:TextBox ID="awardTextBox" runat="server" Text='<%# Bind("award") %>' /></td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                </tr>
                
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="Button2" runat="server" Text="Cancelar" CausesValidation="false" />
                        &nbsp;
                        <asp:Button ID="Button1" runat="server" Text="Guardar" CausesValidation="true" 
                            onclick="Button1_Click" />
                    
                    
</td>
                </tr>
                
            </table>


</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="resultados" runat="server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="proximos" runat="server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="publicidadAjena" runat="server">
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="publicidad" runat="server">
</asp:Content>
